Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Realm binaries from project and fix carthage building #1406

Closed
wants to merge 4 commits into from

Conversation

pmairoldi
Copy link
Collaborator

@pmairoldi pmairoldi commented Sep 7, 2016

This change address two issues having to do with Carthage (#1326 and #1119).

This first change is removing the prebuilt binaries inside of the ChartsRealm project and replacing them with ones that come from Carthage when running "carthage bootstrap" or "carthage update". There has been a lot talk in #1119 about the possible solutions and to me this seems to be the best for now. This means that contributors wanting to update the ChartsRealm project will have to have Carthage install and run "carthage bootstrap" to get the Realm dependencies. A note in the CONTRIBUTING.md should be added for newcomers.

The second change sort of goes hand in hand with the first. It changes how ChartsRealm requires Charts.framework in order to work with Carthage. For whatever reason when building using Carthage most of the time it will pick the macOS version of Charts.framework (but not all of the time, its weird). So instead of having the ChartsRealm project depend on Charts.framework from the Charts project it now depends on Charts.framework built by Carthage.

I believe this addresses most of the Carthage issues. It seems to work consistently now.

@pmairoldi pmairoldi changed the title [WIP] Remove Realm binaries from project and fix carthage building Remove Realm binaries from project and fix carthage building Sep 8, 2016
@pmairoldi
Copy link
Collaborator Author

This should be good for review now @danielgindi or @liuxuan30. Let me know what you think.

@liuxuan30
Copy link
Member

seems still have dependency for Charts.framework to require Realm?

@pmairoldi
Copy link
Collaborator Author

I'm not sure I understand what you mean. But I think I'm gonna close this. I found a better way.

@liuxuan30
Copy link
Member

never mind :)

@pmairoldi
Copy link
Collaborator Author

close in favour of #1422

@pmairoldi pmairoldi closed this Sep 9, 2016
@pmairoldi pmairoldi deleted the extract-realm branch September 9, 2016 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants